x86: replace reset_stack_and_jump_nolp()
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 12:40:27 +0000 (13:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 12:40:27 +0000 (13:40 +0100)
commite3df3fbc448b9ae401332ba7d71c190d2efe3ae8
treef6019e88eff425480f5511c39f9e7f6e8f8228dc
parent2a3f8d12f00ea87c8ac84b8a2f84d1afe42230f3
x86: replace reset_stack_and_jump_nolp()

Move the necessary check into check_for_livepatch_work(), rather than
mostly duplicating reset_stack_and_jump() for this purpose. This is to
prevent an inflation of reset_stack_and_jump() flavors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/pv/domain.c
xen/arch/x86/setup.c
xen/common/livepatch.c
xen/include/asm-x86/current.h